﻿<UserControl x:Class="PairingMatrix.View.TabSelectButton"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:Behaviors="clr-namespace:PairingMatrix.View.Behavior" mc:Ignorable="d" 
             >
    <Border >
        <Border.Effect>
            <DropShadowEffect x:Name="shadow" BlurRadius="20" Color="#FF9BBB57" Direction="235" Opacity="1" ShadowDepth="10" />
        </Border.Effect>


        <Grid >
            <Grid Name="button" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top">
                <Rectangle Width="230" Height="40" RadiusX="8" RadiusY="8" StrokeThickness="3" Stroke="#FF6D823B" Fill="#FF9BBB57"/>
                <TextBlock Name="caption" Text="Button" Foreground="#FFFFFFFD" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="24" FontFamily="Fonts/Fonts.zip#Consolas"/>
            </Grid>
        </Grid>
    </Border>
    <UserControl.RenderTransform>
        <ScaleTransform x:Name="scaleTransform" ScaleX="1" ScaleY="1" CenterX="115" CenterY="20"/>
    </UserControl.RenderTransform>

    <i:Interaction.Behaviors>
        <Behaviors:TabSelectButtonMouseClickBehavior/>
    </i:Interaction.Behaviors>
</UserControl>
